﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="MyCustomerAddList.aspx.cs" Inherits="Ewts.Storage.MyCustomerAddList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link rel="stylesheet" href="/jquery/jquery.dataTables.css"type="text/css" />
 
<script type="text/javascript" src="/jquery/jquery-1.8.3.min.js"></script>
 
<script type="text/javascript" src="/jquery/jquery.dataTables.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<div class="tab1">
	<h2>客户地址列表</h2>
    <!--一个表单-->
<br />
<div class="shadow">
        <asp:Repeater ID="reptCustomer" runat="server">
      <HeaderTemplate>
 
    <table id="tbColl" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
 
      <thead>
 
        <tr>
            <th>客户名称</th>
            <th>城市</th>
            <th>地址</th>
            <th>联系人</th>
            <th>联系电话</th>
 
            <th>操作</th>
 
        </tr>
 
      </thead>
 
      <tbody>
 
  </HeaderTemplate>
 
  <ItemTemplate>
 
    <tr>
 
      <td><%# Eval("companyname")%></td>
      <td><%# Eval("City")%></td>
      <td><%# Eval("address")%></td>
      <td><%# Eval("linkman")%></td>
      <td><%# Eval("phone")%></td>
      <td>      <a href="/BaseData/CustomerAddressModify.aspx?id=<%# Eval("id")%>">维护</a>
           
      </td>
 
    </tr>
 
  </ItemTemplate>
 
  <FooterTemplate>
 
    </tbody>
 
    </table>
 
  </FooterTemplate>


    </asp:Repeater>
</div>
    <script type="text/javascript">

        $(document).ready(function () {

            $('#tbColl').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "bJQueryUI": true,
                "sPaginationType": "full_numbers",
                'bPaginate': true,
                "bProcessing": true,
                "iDisplayLength": 20,
                "bSort": true,
                "aaSorting": [[0, "asc"]]
            });

        });
 
</script>
  
</div>
</asp:Content>
